
import { BasicColumn } from '@/components/Table';
export interface ListData {
  corName: string;
  flightNum: string;
  flightTime: string;
  inOrOut: string;
  fide: string;
}
export const columns: BasicColumn<ListData>[] = [
  {
    title: '航司',
    key: 'corName',
    width: 100,
  },
  {
    title: '航班号',
    key: 'flightNum',
    width: 100,
  },
  {
    title: '时间',
    key: 'flightTime',
    ifShow: (_column) => {
      return true; // 根据业务控制是否显示
    },
    width: 150,
  },
  {
    title: '出港or进港',
    key: 'inOrOut',
    width: 160,
  },
  {
    title: '航班唯一标识',
    key: 'fide',
    width: 160,
  }
];
